package org.xi.behavioral.visitor.api;

import org.xi.behavioral.visitor.element.FunctionDefinition;
import org.xi.behavioral.visitor.element.VariableDeclaration;

/**
 * 访问者接口
 */
public interface Visitor {
    void visit(VariableDeclaration node);

    void visit(FunctionDefinition node);
}